package com.example.fruitdb.mapper;

import com.example.fruitdb.entity.Fruit;
import org.apache.ibatis.annotations.Mapper;

import java.util.Vector;

@Mapper
public interface FruitMapper
{
    public Vector<Fruit> queryFruitByName(String FruitName);
    public Vector<Fruit> queryAllFruit();
    public void deleteFruit(Integer fruitID);
    public void modifyFruit(Fruit fruit);
    public void insertFruit(Fruit fruit);
}
